import request from '@/utils/request'

export function queryPage(query) {
  return request({
    url: '/temp-save/page',
    method: 'post',
    params: {
      current: query.page,
      size: query.size,
      idCardSearchStr: query.idCardSearchStr,
      userSearchStr: query.userSearchStr
    }
  })
}

export function queryInfo(id) {
  return request({
    url: 'temp-save/' + id,
    method: 'get'
  })
}

export function deleteTempById(id) {
  return request({
    url: 'temp-save/' + id,
    method: 'delete'
  })
}

